package org.example.studyonline.pojo.DTO;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddChapterDTO {

    @NotEmpty
    private String name;
    @NotNull
    private Integer courseID;
    @NotNull
    private Integer order;
    private Integer parentChapterID;
}
